<!DOCTYPE html>
<script type="text/javascript" src="../../javascript/protovis-3.2/protovis-d3.2.js"></script>
<body>
  <div>
    <script type="text/javascript">
      new pv.Panel()
        .width(400)
        .height(400)
          .add(pv.Bar)
          .data([{x: 0, y: 0}, {x: 20, y: 20}])
          .left(function(d) { return d.x })
          .top(function(d) { return d.y })
          .width(15)
          .height(15)
          .event("mousedown", pv.Behavior.drag())
        .root
        .render();

    </script>
  </div>
</body>
